Next
Previous
Content
5. Running the software
To encode video to a filesimply type
fame video.mpg
You can also send the encoded stream over a network by typing an IP address and a port instead of a filename
fame 123.45.67.89:0123
Options can be sent to the input modules with the -i option. There are tested one after the other and the first to be able to initialize itself and understand the arguments will be used as the input module. You can force the input module selection with the module option 'module='. To get information on what the module options are, use the module option 'help'.
For example:
-
this uses the first module who know parameters 'width=' and 'height=', and manage to initialize (e.g. a capture module)
fame -i width=320,height=240 video.mpg
-
this will force using the module named 'v4l'
fame -i module=v4l video.mpg
-
this will give help on all modules
fame -i help video.mpg
Other FAME options are:
-
--quality or -q [3-31] : quantization factor (default=8)
Changes the quantization factor. Low values gives better looking but bigger videos that high ones.
-
--buffer or -b size : approximative size of output buffer (default=2048)
This is the approximative size of the output buffer. If data exceed this size, the buffer is flushed to the output. This is mainly useful when outputing to a network, where it represent the approximative packet size.
-
--number or -n N : encode N frames (default=0)
Encode a given number of frames. A value of 0 means no limit.
-
--verbose or -v : set verbose mode
Print more information on what's going on.
Next
Previous
Content